<?php
	namespace Common\Model;
	use Think\Model;
	class UserWechatModel extends Model{
		protected $tableName = 'user_wechat';
		protected $fields = array(
			'id','type','user_id','appid','sex','province','city','nickname','avatarurl','country','openid','unionid','session_key','sessionid','subscribe','subscribe_time','addtime',
			'_pk' => 'id','_autoinc'=>true
		);
	}
?>